package base;

public class Demo06 {
    //实例变量
    String str = "wang";
    //类变量
    static int b = 0;
    public static void main(String[] args) {
        int i = 10; //局部变量
        System.out.println(i);
        //实例变量的调用
        Demo06 demo06 = new Demo06();
        System.out.println(demo06.str);
        //类变量
        System.out.println(b);
    }
}
